<script setup>

let images = [
  {route: "/home", icon:"/img/导航栏/首页.png",text:"首页"},
  {route: "/order", icon:"/img/导航栏/订单.png",text:"订单"},
  {route: "/find", icon:"/img/导航栏/发现.png",text:"发现"},
  {route: "/my", icon:"/img/导航栏/个人中心.png",text:"我的"},
]
</script>

<template>
  <div class="tabbar" >
    <van-tabbar route active-color="#FFC84A" inactive-color="#9A9A9A">
      <van-tabbar-item replace :to="item.route" :icon="item.icon" v-for="(item,index) in images">{{item.text}}</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<style scoped>

</style>